<%= content_tag(:div, :id=>dom_id(question), :class=>"dinamic-bl") do %>
  <div class="act-bl" style="display:none;">
    <% if can? :update, question, :context => :manage %>
      <%= link_to manage_icon("edit"), edit_manage_question_path(:id=>question.id), :class=>"icons" %>
    <% end -%>
    
    <% if can? :delete, question, :context => :manage %>
      <%= link_to manage_icon("delete"), manage_question_path(:id=>question.id), 
          :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %>
    <% end -%>
  </div>
  
  <div class="bot-bg">
    <div class="dinamic-container">
    	<div class="right-data">	
        <div class="right-data-cont">
          <div class="dinamic-inner">
          	<div class="r-block">
              <div class="r-block-cont">
                <%= link_to truncate(question.content.no_html, :length => 100), edit_manage_question_path(:id=>question.id), :class=>"title" %>
              </div>
            </div>
            <div class="l-block"> <%= question.position %> </div>
          </div>
        </div>
      </div>
      <div class="left-data">
        <span class="data"><%= raw I18n.l(question.created_at, :format=>"<span>%d/%m</span>%Y") %></span>
      </div>
    </div>
  </div>
<% end %>
